From: René de Hesselle Date: Fri, 11 Aug 2023 17:13:58 +0000 (+0200) Subject: gdk: Use subpixel_layout on macOS X-Git-Tag: archive/raspbian/4.12.4+ds-3+rpi1^2~21^2^2~30^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9753fc3b826549e6ef93cdcab8b3844f446eac6c;p=gtk4.git gdk: Use subpixel_layout on macOS (cherry picked from commit 9aeb5be8ad91f83030f3c5e5bdd68a47b4b1a970) --- diff --git a/gdk/macos/gdkmacosmonitor.c b/gdk/macos/gdkmacosmonitor.c index df2676b6cf..b1bf0b1f11 100644 --- a/gdk/macos/gdkmacosmonitor.c +++ b/gdk/macos/gdkmacosmonitor.c @@ -331,7 +331,7 @@ _gdk_macos_monitor_reconfigure (GdkMacosMonitor *self) gdk_monitor_set_physical_size (GDK_MONITOR (self), width_mm, height_mm); gdk_monitor_set_scale_factor (GDK_MONITOR (self), scale_factor); gdk_monitor_set_refresh_rate (GDK_MONITOR (self), refresh_rate); - gdk_monitor_set_subpixel_layout (GDK_MONITOR (self), GDK_SUBPIXEL_LAYOUT_UNKNOWN); + gdk_monitor_set_subpixel_layout (GDK_MONITOR (self), subpixel_layout); self->workarea = [screen visibleFrame];